package com.twoGroup.boot.service;


import com.twoGroup.boot.pojo.LikeAndGoods;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface LikeService {
    //添加到用户喜欢
    Integer addUserLike(Integer userId, Integer goodsId, Integer shopId);

    //删除喜欢
    Integer deleteLike(Integer likeId);

    //删除所有喜欢
    Integer deleteAllLike(Integer userId);

    Integer selectLikeCount(Integer userId, Integer goodsId);

    List<LikeAndGoods> selectAllLike(Integer userId);

    Integer selectCount(Integer userId);
}
